#include "RenderInfo.h"
namespace sl
{
	RenderInfo::RenderInfo(void)
		:m_rCamera(0)
		,m_rDrawState(0)
	//	,m_rView(0)
	{
	}

	RenderInfo::RenderInfo( sl::Camera * camera, sl::State * state, sl::View * view )
		:m_rCamera(camera)
		,m_rDrawState(state)
	//	,m_rView(view)
	{

	}

	RenderInfo::~RenderInfo(void)
	{
	}

	void RenderInfo::setCamera( sl::Camera * camera )
	{
		if ( m_rCamera != camera )
			m_rCamera = camera;
	}

	void RenderInfo::setDrawState( sl::State * state )
	{
		if ( m_rDrawState != state )
			m_rDrawState = state;
	}

	//void RenderInfo::setView( sl::View * view )
	//{
	//	if ( m_rView != view )
	//		m_rView = view;
	//}
}
